package com.cdl;

/**
 * @author cdl
 * @date 2025/10/14
 */
public class Pair<T> {
    private T first;
    private T second;
    public Pair(T first, T second) {
        this.first = first;
        this.second = second;

    }
    public Pair(){
        this.first = null;
        this.second = null;
    }

    public T getFirst() { return first;}
    public T getSecond() { return second;}

    public void setFirst(T first) { this.first = first;}
    public void setSecond(T second) { this.second = second;}

}
